# <?php die(); ?>
## 注意：书写时，缩进不能使用 Tab，必须使用空格
#

#############################
# 应用程序设置
#############################

# 在这里添加应用程序需要的设置

# 这里的设置可以用 Q::getIni('appini/设置名') 来读取，例如 Q::getIni('appini/app_title');
# 如果要将应用程序设置存入其他的键名中（默认为 appini），则修改 boot.php 中  $root . '/config/app.yaml.php' => 'appini' 代码


#### UCenter 设置
ucenter:
  api_controller_name: "ucenterapi"
  enabled_api: "test, deleteuser, synlogin, synlogout, updatepw, updateapps, updateclient"

#### 用户帐户设置
passport:
  login_url:    "http://ivan-xu/qee/qeephp_community/bbs/logging.php?action=login"
  register_url: "http://ivan-xu/qee/qeephp_community/bbs/register.php"
  profile_url:  "http://ivan-xu/qee/qeephp_community/bbs/space.php?uid=%UID%"

#### 首页显示设置
homepage:
  # 首页内容缓存时间（秒）
  cached_lifetime: 300
  # 首页上显示多少条最新主题文章
  topics_num: 2
  # 首页上显示多少条最新社区活动
  activities_num: 3
  # 首页最新贴显示多少天以内的
  forum_latest_threads_days: 10
  # 首页精华帖显示多少天以内的
  forum_picked_threads_days: 120
  # 首页上显示多少条论坛帖子
  forum_threads_length: 12

#### 整站显示设置
site:
  # 提示信息显示延迟（秒）
  message_delay: 3
  # 项目和应用展示的分页
  items_pagination: 8
  # 页脚显示多少条最近动态
  footer_recents_num: 6
  # 社区活动对应的论坛版块地址
  calendar_url: "/bbs/forum-2-1.html"
  # SVN 日志文件存放目录
  svnlog_filename: "%ROOT_DIR%/usersdata/svnlog/qeephp-svnlog.php"
  # 显示多少条 SVN 记录
  svnlog_length: 12
  # 可用的文本格式
  text_formatter:
    texy: "Texy 格式"
    markdown: "Markdown 格式"
    text: "纯文本格式"

# 主题文章题图的上传目录
topics:
  upload_allowed_types: "jpeg, jpg, png, gif"
  upload_allowed_size:  800
  upload_dir: "%ROOT_DIR%/upload"
  img_dir: "upload"
  thumb_pic_width: 160
  thumb_pic_height: 120

#### 项目发布设置
projects:
  upload_allowed_types: "zip, rar, 7z, tar.gz, tgz, bz2, pdf, txt, sql, xml"
  upload_allowed_size:  4096
  upload_dir: "%ROOT_DIR%/usersdata/projectfiles"

#### 应用展示发布设置
cases:
  upload_allowed_types: "jpeg, jpg, png"
  upload_allowed_size:  800
  upload_dir: "%ROOT_DIR%/upload"
  img_dir: "upload"
  large_pic_width: 800
  large_pic_height: 600
  thumb_pic_width: 200
  thumb_pic_height: 146
  large_pic_quality: 90

#### 文档显示设置
docs:
  root_dir: "%ROOT_DIR%/upload/docs"
  books:
    -
      name: "qeephp-quickstart"
      subject: "QeePHP 快速入门教程"
      downloads:
        -
          title: "CHM 离线版"
          url: "http://qeephp.com/projects/qeephp/download/22"
          mime: "mime-chm"
        -
          title: "PDF 离线版（无代码高亮）"
          url: "http://qeephp.com/projects/qeephp/download/21"
          mime: "mime-pdf"
        -
          title: "APMXE 运行环境"
          url: "http://qeephp.com/projects/apmxe"
          mime: "mime-package"
        -
          title: "配套源代码"
          url: "http://qeephp.com/projects/example_todo"
          mime: "mime-package"
    -
      name: "qeephp-manual"
      subject: "QeePHP 开发指南"
    -
      name: "qeephp-tour01"
      subject: "QeePHP 实战教程 01：个人兴趣调查系统"
    -
      name: "qeephp-cookbook"
      subject: "QeePHP 食谱"
    -
      name: "qeephp-api"
      subject: "QeePHP API 参考手册"

#### 友情链接发布设置
links:
  upload_allowed_types: "jpeg, jpg, png, gif"
  upload_allowed_size: 20
  upload_dir: "%ROOT_DIR%/upload"
  img_dir: "upload"
  logo_pic_width: 96
  logo_pic_height: 29

#### 论坛设置
forum:
  thread_view_url: "/bbs/viewthread.php?tid=%tid%"
  forum_view_url: "/bbs/forumdisplay.php?fid=%fid%"
  database_name: "ix_qeelab"

#### 后台设置

# 后台管理菜单标签
admin_tabs:
  首页:
    -
      title: "主题文章"
      udi: "admin::topics/index"
    -
      title: "社区活动"
      udi: "admin::activities/index"
  #
  项目:
    -
      title: "项目管理"
      udi: "admin::projects/index"
  #
  应用:
    -
      title: "应用展示管理"
      udi: "admin::cases/index"
  #
  全局:
    -
      title: "友情链接"
      udi: "admin::links/index"
    -
      title: "关键词过滤"
      udi: "admin::blackwords/index"
  访问论坛:
    url: "http://qeephp.com/bbs/"

# 后台管理子菜单
admin_sub_menus:
  主题文章:
    -
      title: "主题文章"
      udi: "admin::topics/index"
    -
      title: "添加"
      udi: "admin::topics/create"
  社区活动:
    -
      title: "社区活动"
      udi: "admin::activities/index"
    -
      title: "添加"
      udi: "admin::activities/create"
  项目管理:
    -
      title: "搜索"
      udi: "admin::projects/index"
    -
      title: "清理"
      udi: "admin::projects/clean"
  应用展示管理:
    -
      title: "搜索"
      udi: "admin::cases/index"
    -
      title: "清理"
      udi: "admin::cases/clean"
  站点信息:
    -
      title: "设置站点信息"
      udi: "admin::site/info"
  友情链接:
    -
      title: "友情链接"
      udi: "admin::links/index"
    -
      title: "添加"
      udi: "admin::links/create"


